#include"client.hpp"
#include<iostream>


int main()
{

    client c;

    while (true)
    {
        std::string message;

        std::cout << "please enter your message #" << std::endl;
        std::cin >> std::ws;
        std::getline(std::cin, message);

        c.sendPipe(message);
    }
    
    
    c.closePipe();
    return 0;
}